//
//  RGMessageView.h
//  RedGrass
//
//  Created by wukong on 2018/11/25.
//  Copyright © 2018年 hongcaosp. All rights reserved.
//

#import "BaseView.h"
#import <MJRefresh.h>

@class RGMessageView;
@protocol RGMessageViewViewDelegate<NSObject>

@optional

//联系人选中
-(void) contactBtnChosedWithView:(RGMessageView *)view;

//funcItem选中
-(void) funcItemChosedWithView:(RGMessageView *)view chosedTag:(NSInteger)tag;

//tableViewCell选中
-(void) cellChosedWithView:(RGMessageView *)view chosedIndexPath:(NSIndexPath *)indexPath;

//tableViewCell选中
-(void) loadFirstPageWithView:(RGMessageView *)view pageNum:(NSInteger)pageNum;

//tableViewCell选中
-(void) loadNextPageWithView:(RGMessageView *)view pageNum:(NSInteger)pageNum;
@end

NS_ASSUME_NONNULL_BEGIN

@interface RGMessageView : BaseView
@property (nonatomic,weak) id<RGMessageViewViewDelegate> delegate;
- (void)reloadTableView:(NSMutableArray *)dataList ;
- (void)beginRefreshing;
- (void)headerEndRefreshing;
- (void)footerEndRefreshing;
- (void)footerEndRefreshingWithNoData;
@end

NS_ASSUME_NONNULL_END
